// material menu related types
export interface MaterialClass {
  MaterialClass: string;
  Id: number;
}

export interface MaterialPropertySelectItem {
  id: number;
  materialPropertyId: number;
  itemName: string;
  sortId: number;
  omit: boolean;
  enabled: boolean;
  createdBy?: string | null;
  createdOn?: string | null;
  modifiedBy?: string | null;
  modifiedOn?: string | null;
}

export interface MaterialProperty {
  id: number;
  materialCodingClassId: number;
  propertyName: string;
  controlType: string;
  controlWidth: number;
  decimalDigits: number | null;
  prefix: string | null;
  suffix: string | null;
  sortId: number;
  allowNull: boolean;
  keepZero: boolean;
  enabled: boolean;
  selectItems: MaterialPropertySelectItem[];
}
// 后端三个菜单新接口返回 List<String>，前端直接使用 string[]
export type MenuStringOption = string;

export default {};
